<?php $controllerName = Zend_Controller_Front::getInstance()->getRequest()->getControllerName();
$SS = new Zend_Session_Namespace ('Language');

$lang = $SS->language;
?>
<?php $langHome = "Trang chủ";
                                  if($lang == "en"){
                                  $langHome = "Home";  
                                  }elseif($lang == "chi"){
                                  $langHome = "家";  
                                  } 
                                  
                                  $langAbout = "Giới thiệu";
                                  if($lang == "en"){
                                  $langAbout = "About us";  
                                  }elseif($lang == "chi"){
                                  $langAbout = "關於";  
                                  } 
                                  
                                  
                                  $langProduct = "Sản phẩm";
                                  if($lang == "en"){
                                  $langProduct = "Products";  
                                  }elseif($lang == "chi"){
                                  $langProduct = "產品";  
                                  } 
                                  
                                  $langService = "Dịch vụ";
                                  if($lang == "en"){
                                  $langService = "Service";  
                                  }elseif($lang == "chi"){
                                  $langService = "服務";  
                                  } 
                                  
                                  $langNews = "Tin tức";
                                  if($lang == "en"){
                                  $langNews = "News";  
                                  }elseif($lang == "chi"){
                                  $langNews = "新聞";  
                                  }
                                  
                                  $langHelp = "Hướng dẫn mua hàng";
                                  if($lang == "en"){
                                  $langHelp = "Shopping guide";  
                                  }elseif($lang == "chi"){
                                  $langHelp = "導購";  
                                  }
                                  
                                  $langContact = "Liên hệ";
                                  if($lang == "en"){
                                  $langContact = "Contact";  
                                  }elseif($lang == "chi"){
                                  $langContact = "聯繫";  
                                  }
                            ?>
<footer>
            <div class="container">
                <div class="row-fluid">
                    <div class="span3">
                        <a href="/"><img src="<?php echo $this->baseUrl()."/".$this->config->logo;?>" alt="" /></a>
                    </div>
                    <div class="span9 table">
                        <ul class="unstyled">
                            <li <?php echo $controllerName == "index" ? 'class="active"' : "";?>><a href="/" title="<?php echo $lang == "en" ? "Home" : "Trang chủ";?>"><?php echo $langHome;?></a></li>
                                    <li <?php echo $controllerName == "abouts" ? 'class="active"' : "";?>><a href="/gioi-thieu" title="<?php echo $lang == "en" ? "About us" : "Giới thiệu";?>"><?php echo $langAbout;?></a></li>
                                    <li <?php echo $controllerName == "products" ? 'class="active"' : "";?>><a href="/san-pham" title="<?php echo $lang == "en" ? "Products" : "Sản phẩm";?>"><?php echo $langProduct;?></a></li>
                                    <li <?php echo $controllerName == "service" ? 'class="active"' : "";?>><a href="/dich-vu" title="<?php echo $lang == "en" ? "Service" : "Dịch vụ";?>"><?php echo $langService;?>  </a></li>
                                    
                                    <li <?php echo $controllerName == "news" ? 'class="active"' : "";?>>
                                        <a href="/tin-tuc" title="Tin tức"><?php echo $langNews;?></a>
                                        
                                    </li>
                                    <li <?php echo $controllerName == "help" ? 'class="active"' : "";?>><a href="/huong-dan-mua-hang" title="<?php echo $lang == "en" ? "Help" : "Trợ giúp";?>"><?php echo $langHelp;?></a></li>
                                    <li <?php echo $controllerName == "contact" ? 'class="active"' : " class = 'last'";?>><a href="/lien-he" title="<?php echo $lang == "en" ? "Contact" : "Liên hệ";?>"><?php echo $langContact;?></a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </footer>
        <div style="position: fixed; right:-5px; bottom:0px"><a href="http://raucuquavn.com/chat" title="google.com" class="example2demo" name="windowX"><img src="<?php echo $this->baseUrl();?>/img/support-online.png"/></a></div>
            
        <script type="text/javascript"> 
$('.example2demo').popupWindow({ 
centerBrowser:1 
}); 
</script>